Skip to main content

EOF

Type

constant

Summary

Equivalent to the EOT character (ASCII 4, Control-D).

Syntax

EOF

Description

Use the EOF constant to read an entire file, or to read all data from a process.

The EOF constant signifies the end of a file.

When used with the read from process or read from file command, the EOF constant causes LiveCode to keep reading data until no more data remains to be read.

Examples

read from file monsterFile until EOF

keyword: character, end, stdout, file

command: constant, read from process, read from file

glossary: command, process

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?